﻿@model LeadMaster.Models.IntroducerUsers

<div class="spacer"></div>
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Associate Users to Introducers</legend>

        <div class="editor-label">
            @Html.Label("User")
        </div>
        <div class="editor-field">
            @Html.DropDownList("UserID", null, new { @class = "chzn-select", style = "width:300px;" })
            @Html.ValidationMessageFor(model => model.UserID)
        </div>
        <div class="spacer"></div>
        <div class="editor-label">
            @Html.Label("Introducer")
        </div>
        <div class="editor-field">
            @Html.DropDownList("CallCentreID", null, new { @class = "chzn-select", style = "width:300px;" })
        </div>
        <div class="spacer"></div>
        <p>
            <input type="submit" value="Create Association" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

<script type="text/javascript">
    $(document).ready(function () {
        $(".chzn-select").chosen();
    });
</script>
